Organization: University of Southern California, Los Angeles, CA
Sender: radford@sal-sun133.usc.edu
Message-ID: <4j7017$8m4@sal-sun133.usc.edu>
NNTP-Posting-Host: sal-sun133.usc.edu
Summary: I am trying to cimpile using g++ version 2.7 and I get link errors
Keywords: templates g++
I have created object files for the template class and the files that use instances of the template class. When I compile using g++ version 2.7 I get errors saying I have a bunch of undefined symbols. The template i'm trying to use is for lists. All the undefined symbols are of the form List<Class I'm trying to create a list of>::member_function_of_template. Can anyone offer any advice on how to compile templates using g++. Any help would be greatly appreciated. Please respond by email. I have never posted to a news group before and I'm not sure how I would retrieve any advice you may have for me.
Thanks in advance, Richard Radford radford@nunki.usc.edu